<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of template
 *
 * @author Montana
 */
class Template extends CI_Model{

    function  __construct() {
        parent::__construct();
        $this->load->view('template/header');
    }
    
    function setPage($template_name){
        $this->load->view($template_name);
        $this->loadFooter();
    }

    function loadFooter(){
        $this->load->view('template/footer');
    }
}
?>
